package com.lcm.weam.service.algo.impl;

import com.lcm.weam.entity.algo.SurfaceWaterEva;
import com.lcm.weam.service.algo.EvaluateService;
import com.lcm.weam.util.ExcelHandler;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

@Service
public class EvaluateServiceImpl implements EvaluateService {


    @Override
    public List<SurfaceWaterEva> SurfaceWaterEva(MultipartFile file, int baseLevel) throws IOException {
        return ExcelHandler.readSurfaceWaterData(file, baseLevel);
    }

}
